/*!
 * 登录界面
 * author: 唐宗程
 * date: 2023-07-24
 */
.login {
    display: flex;
    justify-content: center;
    height: 100%;
    background: url('@/assets/images/login/login_bg.png') center no-repeat;
    background-size: cover;
    .login-container {
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: center;
        width: 9.1rem;
        height: 100%;
        z-index: 1;
        &::before {
            position: absolute;
            content: '';
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 11.56rem;
            background: url('@/assets/images/login/login_bg1.png') center no-repeat;
            background-size: cover;
            z-index: -1;
        }
        .login_title {
            color: #ffffff;
            font-size: 0.4rem;
            line-height: 0.48rem;
            text-align: center;
            margin-bottom: 0.3rem;
        }
        ::v-deep .el-form {
            &-item {
                display: flex;
                flex-direction: column;
                padding: 0 2.2rem;
                margin-bottom: 0.15rem;
                &__label {
                    color: rgba(255, 255, 255, 0.9);
                    font-size: 0.18rem;
                    height: 0.26rem;
                    line-height: 0.26rem;
                    width: 100% !important;
                    text-align: left;
                    vertical-align: top;
                    margin-bottom: 0.06rem;
                }
                &__content {
                    position: relative;
                    margin: 0 !important;
                    .el-input__inner {
                        height: 0.55rem;
                        line-height: 0.55rem;
                        font-size: 0.18rem;
                        border: none;
                        color: rgba(255, 255, 255, 0.9);
                        background: #184c9d;
                        &::placeholder {
                            color: #cccccc;
                        }
                    }
                    .code-box {
                        position: absolute;
                        right: 0.08rem;
                        top: 50%;
                        height: 0.4rem;
                        transform: translateY(-50%);
                        cursor: pointer;
                    }
                }
                &.login_submit {
                    margin-top: 0.24rem;
                    .el-button {
                        width: 100%;
                        height: 0.55rem;
                        font-size: 0.24rem;
                        color: #ffffff;
                        background: #4bc3c3;
                        border-color: #4bc3c3;
                    }
                }
            }
        }
        ::v-deep .el-checkbox {
            padding-left: 2.2rem;
            .el-checkbox__label {
                color: #fff;
            }
        }
    }
}
